package yf.mall.enums;

import lombok.Getter;


/**
 *
 *
 * @date Sun Sep 29 11:12:45 CST 2019
 */
@Getter
public enum MallGoodsSaleTypeEnum {


    BIND(0, "优惠套餐" );


    int index;
    String value;

    MallGoodsSaleTypeEnum(int index, String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return MallGoodsSaleTypeEnum.values()[idx].getValue();
    }

}
